package com.ssm.promotion.core.entity;

/**
 * Create by whk0710 on 2/18/2019
 * 用于保存产品信息的实体类
 * 主要保存TAOG矩阵与TAOG其他相关信息
 * */
public class ProductData {

    private String id;          //主键
    private String dlbp_id;     //关联DLBPData的主键

    private int parts;          //完全拆卸所需的任务数 = parts - 1
    private int b_num;          //B节点个数

    /**
     * TAOG信息矩阵之SA0，为初始B节点后的候选或节点
     * */
    private int[] SA0;
    /**
     * the predecessors of  each Artificial nodes, the first line is A nodes,second line is  B nodes
     * */
    private int[][] PA;
    /**
     * the succeeding B nodes of each Artificial nodes(except the first A node), the first line is B nodes,
     * second line is A nodes
     * */
    private int[][] SA;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDlbp_id() {
        return dlbp_id;
    }

    public void setDlbp_id(String dlbp_id) {
        this.dlbp_id = dlbp_id;
    }

    public int getParts() {
        return parts;
    }

    public void setParts(int parts) {
        this.parts = parts;
    }

    public int getB_num() {
        return b_num;
    }

    public void setB_num(int b_num) {
        this.b_num = b_num;
    }

    public int[] getSA0() {
        return SA0;
    }

    public void setSA0(int[] SA0) {
        this.SA0 = SA0;
    }

    public int[][] getPA() {
        return PA;
    }

    public void setPA(int[][] PA) {
        this.PA = PA;
    }

    public int[][] getSA() {
        return SA;
    }

    public void setSA(int[][] SA) {
        this.SA = SA;
    }

}
